use core::time::Duration;

use crate::{Button, Metas, Phase};

#[derive(Debug, Clone)]
pub struct Mouse {
	pub button: Button,
	pub phase: Phase,
	pub point: (f32, f32),
	pub metas: Metas,
	pub time: Duration,
}
impl Mouse {
	pub fn new(button: Button, phase: Phase, point: (f32, f32), metas: Metas, time: Duration) -> Self {
		Self {
			button,
			phase,
			point,
			metas,
			time,
		}
	}
}
